<% extend './shared/admin-base' %>
<div class="col-md-12">

    <ul id="seller-tab" class="nav nav-tabs">
        <li class="active"><a href="#addAdminer" data-toggle="tab">添加管理员</a></li>
        <li><a href="#showAdminer" data-toggle="tab">查看管理员</a></li>
    </ul>
    <div class="tab-pane fade in active" id="addAdminer">
        <h2>添加管理员帐号</h2>
        <pre class="col-md-12 hide alert alert-danger"></pre>
        <form action="/adminer/checkAdminForm" method="post">
            <div class="form-group">
                <label for="account">账号</label>
                <input type="text" class="form-control" id="account" placeholder="输入账号(4-16位英文字母、数字下划线)" name="account"/>
            </div>
            <div class="form-group">
                <label for="phone">电话</label>
                <input type="text" id="phone" name="phone" placeholder="输入电话(请使用手机)" class="form-control">
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" class="form-control" id="password" name="password" placeholder="密码位数大等于6"/>
            </div>
            <div class="form-group">
                <label for="confirm">确认密码</label>
                <input type="password" class="form-control" id="confirm" name="confirm" placeholder="再输一次密码"/>
            </div>
            <button type="button" class="btn btn-default btn-lg" id="submit">确认</button>
        </form>
    </div>

    <div class="tab-pane fade" id="showAdminer">

    </div>
</div>

<% block 'scripts': %>
<script src="/dist/admin-form.js"></script>
<% end %>